package com.itheima.test;

import com.tanhua.autoconfig.template.SmsTemplate;
import com.tanhua.server.AppServerApplication;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@SpringBootTest(classes = AppServerApplication.class)
@RunWith(SpringRunner.class)
public class SmsTemplatetest {
    @Autowired
    private SmsTemplate smsTemplate;
    @Test
    public void testSendMsg(){
        smsTemplate.sendMsg("15059539669","999911");
    }

}
